package com.weijianhuawen.wjblog.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@ComponentScan("com.weijianhuawen.wjblog.*")
@EnableScheduling // 开启任务定时器
public class WjblogWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(WjblogWebApplication.class, args);
    }

}
